package com.ljy.jymail.product.feign;

import com.ljy.common.to.es.SkuEsModal;
import com.ljy.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("jymail-ware")
public interface WareFeignService {


    @PostMapping(value = "/ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);
}
